import http from '../http'

export const homeApis = {
  async getbanners() { // 获取首页轮播图片
    try {
      const res = await http.get('/banner')
      return res.banners
    } catch (error) {
      return error
    }
  }
}

export default homeApis